/* 基础样式 */
:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --light: #f9f9f9;
    --gray: #ecf0f1;
    --dark: #2c3e50;
    --danger: #e74c3c;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* 登录容器 */
.login-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 380px;
    padding: 30px;
    transition: all 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* 标题样式 */
h2 {
    color: var(--primary);
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
}

h2 i {
    margin-right: 10px;
    font-size: 28px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* 按钮样式 */
button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: var(--primary-dark);
}

/* 错误提示 */
.error {
    color: var(--danger);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}